STM32 embedded graphic objects/touchscreen library

ثبت نشده
چکیده

AN3128 Application note STM32 embedded graphic objects/touchscreen library Introduction This library is a firmware package which contains a collection of routines, data structures, and macros covering the main features of a graphic library and supporting a HID device to interact with the graphic objects (touchscreen, joystick, and pushbutton). The library is general purpose and can be executed on any CPU, 8/16/32-bit, to guarantee the maximum portability of any architecture or LCD controller, and it provides a graphical user interface (GUI) for any application that operates with a graphical LCD. While the firmware library functions with all currently available STM32 microcontrollers, (STM32F10xxx, STM32L1xx and STM32F2xx series), this document describes the firmware library through the implementation of a graphic library for embedded systems based on the STM32F10xxx microcontroller family. It can easily be used in the user application without an in-depth study of STM32 registers, SPI, and I 2 C read/write operation steps. As a result, using the firmware library saves significant time that would otherwise be spent in coding, while at the same time reducing the application development and integration costs. The firmware architecture is developed in separate layers and the HAL (hardware abstraction layer) makes it independent from the microcontroller used in the final application. A set of fonts is included: 8x12 and 16x24. Even though the firmware library source code is developed in 'ANSI-C', the code architecture follows an OOP (object oriented programming) approach. Section 1 describes the document and library rules. Section 2 highlights the features of the STMPE811 and explains its hardware interface with a device microcontroller (STM32 in this case). Section 3 and 4 describe the library features, its architecture and its exported APIs (application programming interfaces) in detail. Section 5 contains an example application source code describing how to configure and use the library.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Rubbing the Fisheye: Precise Touch-Screen Interaction with Gestures and Fisheye Views

Fisheye lenses are powerful tools for visualizing dense data while simultaneously providing focus and context. Unfortunately, target acquisition in fisheye lenses is complicated by magnification effects that make it seem as if objects in the fisheye view are moving when the view is changed. These problems become even more evident with touchscreen–controlled fisheye views, where there is no cont...

متن کامل

Hardware in Loop of a Generalized Predictive Controller for a Micro Grid DC System of Renewable Energy Sources

In this paper, a hardware in the loop simulation (HIL) is presented. This application is purposed as the first step before a real implementation of a Generalized Predictive Control (GPC) on a micro-grid system located at the Military University Campus in Cajica, Colombia. The designed GPC, looks for keep the battery bank State of Charge (SOC) over the 70% and under the 90%, what ensures the bes...

متن کامل

A Design of the IOT Gateway for Agricultural Greenhouse

This article put forward a method to realize the transmission between wireless sensor network and the Internet. The IOT (Internet of Things) gateway is used as part of the greenhouse monitoring system. The design compatible multiple access method such as LAN, Wifi, GPRS, EDGE, 3G and so on, also the data can stored locally. The IOT gateway uses STM32 as the MCU, μC/OS-III as the embedded operat...

متن کامل

Design of 3mm Band Detector Indoor Calibration System

A 3mm band detector indoor calibration system is introduced in this paper, which is based on a STM32 embedded system. This embedded control system includes noise source control circuit, database circuit, a real time clock circuit, humidity and temperature sensor circuit, PS/2 interface circuit and SD card interface circuit. And a database, which contains radiation characteristics of metal targe...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009